﻿using MediatR;
using Tb.App.ErrorCode;

namespace Tb.App.API.Applications.Command.Slaughter
{
    /// <summary>
    /// 设置屠宰信息-请求
    /// </summary>
    public class AddSlaughterModelCommand: IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 到场均重
        /// </summary>
        public int Weight { get; set; }
        /// <summary>
        /// 到场时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime? EndTime { get; set; }
    }
}
